package com.example.day04.not;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class MyService extends Service {
    public MyService(){}

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        ThreadManager.getInstance().execute(new Runnable() {
            @Override
            public void run() {
                DownLoadUtil.retrofitDownLoad("/storage/emulated/0/aaa1.apk");
            }
        });
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }
}
